package com.truyen.model;

import java.util.HashMap;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

public class UploadItem {

	// ten fileData phai dat giong nhu ten tren HTML 
	private MultipartFile fileData;
	private Map<Integer, String> typesMap = new HashMap<Integer, String>();
	private int uploadType;
	private String content;
	private long pos;	
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public long getPos() {
		return pos;
	}

	public void setPos(long pos) {
		this.pos = pos;
	}

	public Map<Integer, String> getTypesMap() {
		return typesMap;
	}

	public void setTypesMap(Map<Integer, String> typesMap) {
		this.typesMap = typesMap;
	}

	public int getUploadType() {
		return uploadType;
	}

	public void setUploadType(int uploadType) {
		this.uploadType = uploadType;
	}

	public void setFileData(MultipartFile fileData) {
		this.fileData = fileData;
	}

	public MultipartFile getFileData() {
		return fileData;
	}

}
